package com.fzdy.product.entity;

import lombok.Data;

import javax.persistence.*;

@Entity
@Table(name = "t_order_controller")
@Data
public class OrderController {
    @Id
    @Column(name = "id")
    private Integer id;
    @Column(name = "orderid")
    private Integer orderid;
    @Column(name = "controller_id")
    private Integer controllerId;
    @Column(name = "status")
    private Integer status;

    public OrderController() {
    }

    public OrderController(Integer orderid, Integer controllerId) {
        this.orderid = orderid;
        this.controllerId = controllerId;
        this.status = 1;
    }
}
